# import random
# a = [1,2,3,4,5,6]
# b = [1,2,3,4,5,6]
# p = 1000
# print("游戏余额为:",p)
# while p >= 100 :
#     m = input("请输入任意键进行游戏:")
#     c = random.choice(a) + random.choice(b)
#     print(c)
#     if c == 7 or c == 11 :
#         print("玩家胜")
#         p = p + 100
#         print("游戏余额为:",p)
#     elif c == 2 or c == 3 or c == 12 :
#         print("庄家胜")
#         p = p -100
#         print("游戏余额为:",p)
#     else :
#         n = input("平局，进行下一轮,请输入任意键继续游戏:")
#         for i in range(1,100000,1) :
#             d = random.choice(a) + random.choice(b)
#             print(d)
#             if d == 7 :
#                 print("庄家胜")
#                 p = p -100
#                 print("游戏余额为:",p)
#                 if p == 0 :
#                     break
#                 break
#             elif d == c :
#                 print("玩家胜")
#                 p = p + 100
#                 print("游戏余额为:",p)
#                 break
#             else :
#                 k = input("平局，进行下一轮,请输入任意键继续游戏:")


